-
Notifications
You must be signed in to change notification settings - Fork 822
chore: Add "LGPL-3.0-only" to allowed licenses #5698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
And silence cargo-deny warnings about multiple versions of a crate, often nothing we can do about that. Signed-off-by: Graham King <grahamk@nvidia.com>
WalkthroughThe pull request updates GitHub Actions workflow configuration and dependency license policies. The cargo-deny command adds an error-level log flag, and the deny.toml file permits LGPL-3.0-only licenses in the allow list. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@deny.toml`:
- Line 38: The repo currently lists "LGPL-3.0-only" in deny.toml; obtain
explicit legal sign‑off for permitting LGPL‑3.0‑only distribution and then
document that approval and required compliance steps: (1) add the approver,
date, and scope of approval to the repo’s license policy (e.g., LICENSES.md or a
LICENSE_APPROVALS file), (2) enumerate required obligations for consumers
(relinkable object rules, static vs dynamic linking guidance, source/notice
obligations) and any build/packaging checklist, (3) update deny.toml or the
license policy to reflect the approved status of "LGPL-3.0-only" and link to the
approval record, and (4) adjust any CI/license-checker config to accept the
license only when the approval entry is present.
🧹 Nitpick comments (1)
.github/workflows/pre-merge-rust.yml (1)
78-78: Avoid suppressing all cargo‑deny warnings; use config-based allow instead.The
-L errorflag suppresses all WARN-level logs, including legitimate cargo-deny warnings. Use the configuration file to explicitly allow multiple versions so other warnings remain visible.♻️ Suggested adjustment
- cargo-deny -L error --no-default-features check --hide-inclusion-graph licenses bans --config ${{ github.workspace }}/deny.toml + cargo-deny --no-default-features check --hide-inclusion-graph licenses bans --config ${{ github.workspace }}/deny.toml[bans] +multiple-versions = "allow" deny = [ # Ensure we don't depend on openssl { name = "native-tls" }, { name = "openssl-sys" }, ]
Signed-off-by: Graham King <grahamk@nvidia.com>
And silence cargo-deny warnings about multiple versions of a crate, often nothing we can do about that.
Strangely I only got this warning locally, not in CI.
Summary by CodeRabbit
Release Notes
✏️ Tip: You can customize this high-level summary in your review settings.